<?php

	class Mod_give extends CI_Model{

		function __construct()
		{
			parent::__construct();
		}

		function pesquisaGiveData()
		{	
			$this->db->order_by('g_data_f','asc');
			$this->db->limit(3);
			$result = $this->db->get('giveaway');

			return $result->result();

		}

	}

?>